
package com.zjff.myshop.admin.pojo.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

@Data
public class FileUploadForm {
    @ApiModelProperty(value = "上传文件", position = 1, required = true)
    @NotNull(message = "上传文件不能为空 ")
    MultipartFile multipartFile;

    @ApiModelProperty(value = "原来文件", position = 2)
    String oldFile;
}